//
//  TopCell.m
//  项目1 CLCMovie
//
//  Created by huiwenjiaoyu on 15/7/21.
//  Copyright (c) 2015年 CLC. All rights reserved.
//

#import "TopCell.h"
#import "UIImageView+WebCache.h"
@implementation TopCell



- (void)layoutSubviews
{
    _TitleLabel.text = _topModal.title;
    _TitleLabel.backgroundColor = [UIColor colorWithWhite:0.1 alpha:0.7];
    
    NSURL* imgURL = [NSURL URLWithString:[_topModal.img valueForKey:@"medium"]];
    [_movieImage sd_setImageWithURL:imgURL];
    
    _markLabel.text = [NSString stringWithFormat:@"%.1f",_topModal.mark];
     _StarView.mark = _topModal.mark;
}
@end

